<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta http-equiv='X-UA-Compatible' content='chrome=1' />
    <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1' />
    <title>issueLog</title>
    <link rel="stylesheet" href="static/css/common.css">
    <link rel="stylesheet" href="static/css/issueLog.css">
    <!--[if gte IE 9]>
    <script src='assets/libs/jquery.js'  type="text/javascript"></script>
    <script src="assets/libs/flexie.js"  type="text/javascript"></script>
    <![endif]-->
</head>
<body>
    <section>
        <!--上传封面-->
        <div id="uploadImage" class="main_box">
            <div class="main_left ver_align_top">
                <span class="tipName">上传封面</span>
            </div>
            <div class="main_right main_right_upload">
                <p class="uploadImage_Remarks">若未上传封面，默认系统图片加标题展示</p>
                <div class="uploadImage_box">
                    <div class="uploadImage_box_style active">
                        <i class="uploadImage_box_logo"></i>
                        <p class="uploadImage_box_remarks">上传封面</p>
                    </div>
                    <div class="uploadImage_imgbox_style ">
                        <img src="" alt="">
                    </div>
                    <input type="file" id="hiddenUploadImageInput">
                </div>
            </div>
        </div>
        <!--文章内容-->
        <div class="main_box" id="logSection">
            <div class="main_box_padding">
                <div class="main_left">
                    <span class="tipName">文章标题</span>
                    <i class="tipName_logo"></i>
                </div>
                <div class="main_right">
                    <input type="text" placeholder="请输入作品标题" class="inputStyle">
                </div>
            </div>
            <div>
                <div class="main_left ver_align_top">
                    <span class="tipName">文章内容</span>
                    <i class="tipName_logo"></i>
                </div>
                <div class="main_right">
                    <div id="KindEditor_box">

                    </div>
                </div>
            </div>
        </div>
        <!--其他设置 标签 打赏之类的-->
        <div class="main_box" >
            <div class="main_box_padding">
                <div class="main_left">
                    <span class="tipName">打赏设置</span>
                    <i class="tipName_logo"></i>
                </div>
                <div class="main_right">
                    <ul class="dataList_setUpPayList">
                        <li>
                            <i class="setUpPay openPay"></i>
                            <span class="setUpPay_text">妈的智障</span>
                        </li>
                        <li>
                            <i class="setUpPay closePay"></i>
                            <span class="setUpPay_text">妈的智障</span>
                        </li>
                    </ul>
                </div>
            </div>
            <div>
                <div class="main_left ver_align_top">
                    <span class="tipName">文章标签</span>
                    <i class="tipName_logo"></i>
                </div>
                <div class="main_right">
                    <div class="dataList_productTipBox">
                        <ul class="dataList_productTipList">
                            <li class="dataList_productTip">
                                <span class="dataList_productTipName">妈的智障</span>
                                <i class="dataList_productTipLogo"></i>
                            </li>
                            <li class="dataList_productTip dataList_addProductTip">
                                <span class="dataList_productTipName">妈的智障</span>
                            </li>
                            <li class="addShow_Input">
                                <input type="text" class="addbtn_INPUT">
                                <span class="addbtn addbtn_ISOK">确认</span>
                                <span class="addbtn addbtn_CANCEL">取消</span>
                            </li>
                        </ul>
                        <p class="hotTip">热门标签</p>
                        <ul id='hotTip_dataList_productTipList' class="dataList_productTipList">
                            <li class="dataList_productTip dataList_hotProductTip">
                                <span class="dataList_productTipName">妈的智障</span>
                            </li>
                            <li class="dataList_productTip dataList_hotProductTip">
                                <span class="dataList_productTipName">妈的智障</span>
                            </li>
                            <li class="dataList_productTip dataList_hotProductTip">
                                <span class="dataList_productTipName">妈的智障</span>
                            </li>
                            <li class="dataList_productTip dataList_hotProductTip">
                                <span class="dataList_productTipName">妈的智障</span>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <!--发布的按钮-->
        <div class="issue_btn">
            发布
        </div>
    </section>
    <script type="text/javascript" src='assets/libs/jquery.js'></script>
    <script type="text/javascript" src='assets/libs/kindeditor/kindeditor-all.js'></script>
    <script type="text/javascript" src='assets/libs/kindeditor/kindeditor-all-min.js'></script>
    <script type="text/javascript" src='assets/libs/kindeditor/lang/zh-CN.js'></script>
    <!--<script type="text/javascript" src='assets/libs/kindeditor-all.js'></script>
    <script type="text/javascript" src='assets/libs/zh-CN.js'></script>-->
    <!--<script type="text/javascript" src='assets/libs/wangEditor.min.js'></script>-->
    <script type="text/javascript" src='static/js/issueLog.js'></script>
<script>
    var editor;
    window.KindEditor.ready(function(K) {
        editor = K.create('#KindEditor_box', {
            /*items : [
                'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
                'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
                'insertunorderedlist', '|', 'emoticons', 'image', 'link'],
            width : '800px',
            height : '350px'*/
            allowFileManager : true,
            allowImageUpload : true,
            height : '350px',
            width : '800px'

        });
        K('.issue_btn').click(function(e) {
            console.log(editor.html());
        });
    });
    /*var E = window.wangEditor
    var editor2 = new E('#KindEditor_box')
    editor2.create()*/
</script>
</body>
</html>